import request from "@/utils/request.js"
export default {
    //条件+分页查询路线
    getRouteList(current, pageSize, searchRouteVo){
        return request({
            url: `/route/front/SearchRouteByVo/${current}/${pageSize}`,
            method: 'post',
            data: searchRouteVo
        })
    },
    //获取目的地分类
    getDestinationList(){
        return request({
            url: `/route/category/list/tree`,
            method: 'get'
        })
    },
    //获取路线详情
    getRouteDetail(routeId){
        return request({
            url: `/route/front/getRouteDetailById/${routeId}`,
            method: 'get'
        })
    }
}